package com.ruoyi.project.check.domain;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.ruoyi.framework.web.domain.BaseEntity;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import org.springframework.format.annotation.DateTimeFormat;

import java.util.Date;

/**
 * 检查单和检查项目联类
 */
@AllArgsConstructor
@Data
@NoArgsConstructor
public class HgCheck extends BaseEntity {


    //检查单号
    private Integer rrcid;
    //患者姓名
    private String rcname;
    //项目名称
    private String rrname;
    //检查状态  0为未检查，1为检查中，2位检查完毕
    private Integer rrcstatus;
    //检查结果
    private String rrcresult;
    //结果图片
    private String rrcpicture;
    //检查备注
    private String rcremark;
    //检查ID
    private Integer rcid;
    //检查部门
    private String rcdept;
    //检查单价
    private Double rcprice;
    //检查总价
    private Double rcamount;
    //检查状态
    private Integer rcstatus;
    private Double count;
    //数据创建者
    private String createby;
    //创建时间
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date createtime;
    //更新者
    private String  updateby;
    //更新时间
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date updatetime;
    //备注
    private String remark;

    private RegCheck regCheck;
}
